package models;

public class User {
    private String id;
    private String username;
    private String password;
    private String userpic;
    private String tel;
    private String email;
    private String createtime;
    private String updatetime;

    public User(String username, String password) {
        this.username = username;
        this.password = password;
    }

    public User(String username, String password, String tel, String email) {
        this.username = username;
        this.password = password;
        this.tel = tel;
        this.email = email;
    }

    public User(String id, String username, String password, String userpic, String tel, String email, String createtime, String updatetime) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.userpic = userpic;
        this.tel = tel;
        this.email = email;
        this.createtime = createtime;
        this.updatetime = updatetime;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUserpic() {
        return userpic;
    }

    public void setUserpic(String userpic) {
        this.userpic = userpic;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    public String getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(String updatetime) {
        this.updatetime = updatetime;
    }
}
